<!DOCTYPE >
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			let arr = [1, 4, 2, 6, 5, 3, 8, 6, 2, 4, 5, 7, 3, 5, 2, 5];
			// set集合
			function distinct(arr){
				return  Array.from(new Set(arr));
			}
			console.log(distinct(arr))
		</script>
	</body>
	</html>